<!DOCTYPE html>
<html>

<head>
    <meta charset="utf-8">
    <meta name="viewport" content="maximum-scale=1.0,minimum-scale=1.0,user-scalable=0,width=device-width,initial-scale=1.0" />
    <meta name="format-detection" content="telephone=no,email=no,date=no,address=no">
    <title></title>
    <link rel="stylesheet" type="text/css" href="../css/aui.2.0.css" />
    <script src="../script/api.js"></script>
    <style>

    </style>
</head>

<body>
    <header id='header' class="aui-bar aui-bar-nav" style="background-color: #03a9f4">
        <a class="aui-pull-left aui-btn" onclick="api.closeWin();">
            <span class="aui-iconfont aui-icon-left"></span>
        </a>
        <div class="aui-title" id="middle">
            异常历史查询
        </div>
    </header>
</body>
<script>
    apiready = function() {

        openExInitFrame();
    }

    function openExInitFrame() {
        var header = $api.byId('header');

        var headerPos = $api.offset(header); //获取元素在页面中的位置与宽高

        var frameH = api.winHeight - headerPos.h;
        api.openFrame({
            name: 'about-con',
            url: 'usmExceptionBillH.html',
            rect: {
                x: 0,
                y: headerPos.h,
                w: 'auto',
                h: frameH
            },
            bgColor: '#FFFFFF',
            showProgress: true,
            bounces: false
        });
    }
</script>

</html>
